<template>
  <div style="display:flex;justify-content:center">
    <el-pagination
      style="margin-top: 30px"
      background
      layout="prev, pager, next"
      @current-change="changePage"
      :page-size="pageSize"
      :total="totalRows"
    >
    </el-pagination>
  </div>
</template>

<script>
export default {
    props:['pageNo','pageSize','totalRows'],
    methods: {
        changePage(p){
            this.$emit('pageChange',p)
        }
    },
}
</script>